﻿using System.Data.Common;

namespace _5E.Utils.DbHelper
{
    /// <summary>
    /// 简易事务
    /// </summary>
    public interface ITransactable
    {
        void Begin();

        void Prepare(string sql, DbParameter[] dbParameters);

        bool Commit();
    }
}
